{template "header.html", "/"}

<div class="page-container">
    <div class="page-content-wrapper">

        <div class="page-content">
            <div class="container">

                <ul class="page-breadcrumb breadcrumb">
                    <li><a href="{SITE_URL}">首页</a><i class="fa fa-angle-right"></i></li>
                    {if defined('IS_SHARE') && !IS_SHARE}
                    <li><a href="{MODULE_URL}">{MODULE_NAME}</a><i class="fa fa-angle-right"></i></li>
                    {/if}
                    {dr_catpos($catid, '', 1, '<li><a href="{url}">{name}</a><i class="fa fa-angle-right"></i></li>'.PHP_EOL)}
                    <li> <span>正文</span></li>
                </ul>


                <div class="news-content row">

                    <div class="col-md-12">

                        <div class="down-title row">
                            <div class="col-md-2 image-thumbnail4">
                                <img src="{dr_thumb($thumb, 200, 200)}">
                            </div>
                            <div class="col-md-8">
                                <h3>{$title}</h3>
                                <div class="info">
                                    <label>更新时间： <span>{$updatetime} </span></label>
                                    <label>人气指数： <span> {dr_show_hits($id)} </span></label>
                                    <label>评论数量： <span> {$comments} </span></label>
                                </div>
                                <div class="info">
                                    <label>所在区域： <span> {dr_linkagepos('address', $area, ' > ', dr_search_url($params, 'area', '{linkage}'))} </span></label>
                                    <label>小区名称： <span> {$xiaoqumingcheng} </span></label>
                                    <label>租金信息： <span> {$zujin}/月，{$zujinleixing}</span></label>
                                </div>
                                <div class="info">
                                    <label>联系姓名： <span> {$lianxiren} </span></label>
                                    <label>联系电话： <span> {$lianxidianhua} </span></label>
                                </div>
                                <div class="info">
                                    <label>详细地址： <span> {$dizhi} </span></label>
                                    <label>户型状况： <span> {$shi}室，{$ting}厅，{$wei}卫，{$huxing} </span></label>
                                    <label>房屋状况： <span> 共{$zongceng}层，第{$suozaiceng}层，{$mianji}平米，{$zhuangxiu}，{$chaoxiang} </span></label>
                                    <label>配置状况： <span> {if $peitao}{implode('，', $peitao)}{/if} </span></label>
                                </div>

                            </div>

                        </div>

                        <div class="book-content margin-top-30">
                            <div class="commonTitle clearfix">
                                <h4 class="fl fw">房屋图片</h4>
                            </div>
                            <div class="book-content-list ">
                                <div class="swiper-container">
                                    <div class="swiper-wrapper">
                                        {loop $images $i $t}
                                        <div class="swiper-slide">
                                            <a href="{dr_get_file($t.file)}" title="{$t.title}"> <img src="{dr_thumb($t.file, 1200, 450)}" width="1200" height="450" /></a>
                                        </div>
                                        {/loop}
                                    </div>
                                    <!-- Add Pagination -->
                                    <div class="swiper-pagination"></div>
                                    <!-- Add Arrows -->
                                    <div class="swiper-button-next"></div>
                                    <div class="swiper-button-prev"></div>
                                </div>

                                <link rel="stylesheet" href="{HOME_THEME_PATH}swiper/css/swiper.min.css">
                                <script src="{HOME_THEME_PATH}swiper/js/swiper.min.js"></script>
                                <script>
                                    var swiper = new Swiper('.swiper-container', {
                                        slidesPerView: 1,
                                        spaceBetween: 30,
                                        loop: true,
                                        pagination: {
                                            el: '.swiper-pagination',
                                            clickable: true,
                                        },
                                        navigation: {
                                            nextEl: '.swiper-button-next',
                                            prevEl: '.swiper-button-prev',
                                        },
                                    });
                                </script>
                            </div>
                        </div>

                        <div class="book-content margin-top-30">
                            <div class="commonTitle clearfix">
                                <h4 class="fl fw">详细介绍</h4>
                            </div>
                            <div class="book-content-list ">

                                {$content}

                            </div>
                        </div>

                        <div class="book-content margin-top-30">
                            <div class="commonTitle clearfix">
                                <h4 class="fl fw">网友留言评论</h4>
                            </div>
                            <div class="book-content-list ">

                                {dr_module_comment(MOD_DIR, $id)}

                            </div>
                        </div>

                    </div>



                </div>

            </div>
        </div>

    </div>

</div>


{template "footer.html", "/"}